
export function addTodo(text) {
  return { type: "1", text }
}

export function toggleTodo(index) {
  return { type: "2", index }
}

export function setVisibilityFilter(filter) {
  return { type: "3", filter }
}

